#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"
int main()
{
	int a[] = { 12,16,56,89,71,2,3,6,45 };
	hp php;
	HeapInit(&php);
	for (int i = 0; i < sizeof(a) / sizeof(int); i++)
	{
		HeapPush(&php, a[i]);
	}
	for (int i = 0; i < php.size; i++)
	{
		printf("%d->", php.a[i]);
	}
	printf("\n");
	HeapPop(&php);
	for (int i = 0; i < php.size; i++)
	{
		printf("%d->", php.a[i]);
	}
	printf("\n%d\n", HeapTop(&php));
	printf("%d\n", HeapEmpty(&php));
	printf("%d", HeapSize(&php));
}